package cn.t.core.enums.base;


import cn.t.core.exception.BaseError;

public enum CommonError implements BaseError {
    SUCCESS(200),
    ILLEGAL_PARAMETER(400),
    TOKEN_ERROR(401),
    SYSTEM_EXCEPTION(500),
    CONFIRM_EXCEPTION(701),
    BIZ_EXCEPTION(600),

    SERVER_ERROR(10000),
    AUTH_VERIFY_EXCEPTION(70001),

    STAFF_CODE_ERROR(201001);

    private Integer code;


    CommonError(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

}
